import FormItem from '../utils/class/FormItem';
import { FormItemProps } from 'naive-ui';

function useFormItem(label: string, key: string, props?: FormItemProps): FormItem {
  return new FormItem(label, key, props);
}

export default useFormItem;
